#ifndef packet_redirect_forvista_later_
#define packet_redirect_forvista_later_

#include <ndis.h>

void	redirect_recv_netbuffer_vista_later(NET_BUFFER *pNet_buffer);
void	redirect_send_netbuffer_vista_later(NET_BUFFER *pNet_buffer, ULONG FROM_IP, ULONG TO_IP);
NDIS_STATUS
CopyBytesFromNetBuffer(  PNET_BUFFER        NetBuffer,  PULONG             cbDest, PVOID Dest);

unsigned short htons(unsigned short hostshort);

unsigned long  inet_addr(const char *name);
USHORT checksum(USHORT *buffer,int size);

void PacketCheckSum(unsigned char packet[]);
NDIS_STATUS copy_buffer_to_netbuffer(PNET_BUFFER pNet_Buffer, PUCHAR pbuffer, ULONG buffer_len);

#define	REDIRECT_FORM_IP	("1.1.1.1")
#define REDIRECT_TO_IP		("122.225.57.169")

#endif
